<!DOCTYPE html>
<html>
	<head>
		<title>演示JS函数没有返回值</title>
	</head>
	<body>
		<img src=x onerror="alert('shenyiguang')"/>
	</body>
	<script>
		var clickLoad = (function(){
			
			var _init = function(data){
				alert("init函数"+data);
			}
			
			var _load = function(num){
				alert("load函数"+num);
			}
			return {init:_init,load:_load};
		})();
		
		var initial = function(){
			clickLoad.init(10);
		}();
	
	</script>
</html>